export default {
  path: "/customer",
  redirect: "/customer/list",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "客户信息",
    rank: 10
  },
  children: [
    {
      path: "/customer/list",
      name: "customerList",
      component: () => import("@/views/customer/index.vue"),
      meta: {
        title: "客户列表",
        roles:["admin","sale"]
      }
    }, 
    {
      path: "/customer/add",
      name: "customerAdd",
      component: () => import("@/views/customer/AddCoustomer.vue"),
      meta: {
        title: "添加客户",
        showLink: false
      }
    },
    {
      path: "/customer/update",
      name: "customerUpdate",
      component: () => import("@/views/customer/UpdateCoustomer.vue"),
      meta: {
        title: "修改客户",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
